TODGridBar Component
--------------------
Copyright Olivier Dahan 
Email 100531,163 
(100531.163@compuserve.com from Internet)

V 1.2 2/97


What is it ?
TODGridBar was created to be a DBGrid companion, of course, you can use it in many other situations.
TODGridBar is a data-aware toolbar that one contects to a TDataSource. It offers following functions:
 * DataSet state display (green "browse", red "Edit", yellow blink "Insert" mode)
 * Find and Find next on any _visible_ field of the underlying dataset with:
   - Case sensitive / insensitive mode
   - find anywhere / find exact mode
   User choose the field where to search in a combobox showing DisplayLabel field
   property (not the fieldname that is not often smart for end user).

There is something more: find/find next work also on memo field ! It can also detect long memo (more than 32 Kb) to avoid runtime error (this can be your case if you're using Orpheus long memo or any equivalent). Long memo are skipped during the search progression in this version.

TODGridBar can display its messages (captions and hints) in French or English, it's really simple to add a new language. Strings are stored in a standard Windows resource file.
You can resize almost all components to make the bar looking better.

How to install ?
the way I use components is very simple: each component has its own directory, and there is just one "Lib" directory in which I only copy DCU DCR DFM and RES files. When I add a component to the Delphi palette, I install only the DCU from this "Lib". I just can say: follow my way...


How to use it ?
Once in the Delphi palette, TODGridBar is just another component you can add on any form. The most important property is the DATASOURCE, of course. All others can be ignored in a first time. TODGridBar is a composite component, its base class is TPanel (all subcomponents are placed onto the panel).


Source Code
The complete source code is included, be happy !!!
Why this code is free: all of us, and I, of course, have learnt a lot reading code written by the others. We can all be better if we share information. Perhaps some of you think "but my work cost a lot, I don't want to offer it, its my job and my kid must eat..". Ok, I'm not saying you to work for nothing. But I'm not sure little, but precious things (as, I hope, TODGridBar) can really be called a "job". So share your work. only a few very big components can be considered as a "job", as the excellent TeeChart (D.Bernada) or QuickReport (A.Lochert) and just a few others. When I see some guys trying to sale little components 10, 20 or even $80, I just think "poor guy...". Be pround of your work, but as the french proverb says : keep your feet on the ground !
(and be indulgent with my english !)

Registration
TODGridBar is NOT A FREEWARE, I keep all my rights. I just offer you the right to use it if you send me an Email to say you're using it. 
TODGRidBar (compiled code or source code) can't be used or distribute for money without my authorisation.


Disclaimer
This component is furnished "as it", its use is reserved to Delphi users having good knowledge of this environment. If you can't understand each line of my code, please don't use TODGridBar. In all cases, you will use TODGRidBar at your own risks. Nothing to pay, no support to ask...

